<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link href="./css/laydate.css" rel="stylesheet" type="text/css" />
  <link href="./css/modules/laydate/default/laydate.css" rel="stylesheet" type="text/css" />
  <link href="./css/rem-format.css" rel="stylesheet" type="text/css" />
  <link href="./css/main.css" rel="stylesheet" type="text/css" />
  <link href="./css/reservation.css" rel="stylesheet" type="text/css" />
</head>

<body>
  <nav>
    <div class="center">
      <div class="logo-wrap">
        <embed src="./imgs/logo.svg" type="image/svg+xml" />
      </div>
      <ul class="nav-wrap">
        <li class="active">
          <a href="#">Home</a>
        </li>
        <li>
          <a href="#">Order Online</a>
        </li>
        <li>
          <a href="#">About Us</a>
        </li>
        <li>
          <a href="#">Contact Us</a>
        </li>
      </ul>
      <div class="make">
        <a href="#">Make A Reservation</a>
      </div>
    </div>
  </nav>
  <section class="content">
    <form class="form">
      <div class="row">
        <label>Name</label>
        <input placeholder="please input your name" />
      </div>
      <div class="row">
        <label>Phone Number</label>
        <input placeholder="please input your phone number" />
      </div>
    </form>
    <div class="date">
      <div class="title">
          <embed src="./imgs/time.svg" type="image/svg+xml" />
          <span>Date & Time</span>
      </div>
      <div id="date"></div>
    </div>
    <div class="time">
      <ul class="time-wrap">
        <li class="active">10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
        <li>10:00AM-12:Am</li>
      </ul>
    </div>
    <div class="guest">
      <div class="title">
        <embed src="./imgs/guest.svg" type="image/svg+xml" />
        <span>Guests</span>
      </div>
      <div class="guest-select">
        <div class="btn">
          <span>-</span>
        </div>
        <input placeholder="please input guest" />
        <div class="btn">
          <span>+</span>
        </div>
      </div>
    </div>
    <div class="submit">
      <span>SUBMIT</span>
    </div>
  </section>
  <footer>
    <div class="footer-content">
      <div class="center">
        <embed src="./imgs/lin-logo.svg" type="image/svg+xml" />
        <div class="links">
          <a href="#">
            <embed src="./imgs/facebook.svg" type="image/svg+xml" />
          </a>
          <a href="#">
            <embed src="./imgs/ins.svg" type="image/svg+xml" />
          </a>
          <a href="#">
            <embed src="./imgs/tw.svg" type="image/svg+xml" />
          </a>
        </div>
      </div>
    </div>
    <div class="footer-copyright">
      <a>Copyright © 2021 Limited. All Rights Reserved.</a>
    </div>
  </footer>
  <script src="./js/laydate.js"></script>
  <script>
    laydate.render({
        elem: '#date',
        position: 'static',
        lang: 'en',
        theme:"eval", 
        showBottom:false,
        change: function (value, date) { //监听日期被切换
          console.log(value,date)
        }
    });
  </script>
</body>

</html>